package com.zui.admin.domain.vo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.util.List;


/**
 * @description 商品分类响应VO
 * @version 2021-05-04 		
 */
@Data
@ApiModel(value = "商品分类响应VO")
public class CategoryVO implements Serializable {

    private static final long serialVersionUID = 2021050422340044L;

    @ApiModelProperty(value = "分类id")
	private Long id;

    @ApiModelProperty(value = "分类名称")
	private String name;

    @ApiModelProperty(value = "父分类id")
	private Long pid;

    @ApiModelProperty(value = "层级")
	private Integer level;

    @ApiModelProperty(value = "是否显示[ 0 不显示、1 显示(默认) ]")
	private Integer showStatus;

    @ApiModelProperty(value = "排序")
	private Integer sort;

    @ApiModelProperty(value = "图标地址")
	private String icon;

    @ApiModelProperty(value = "计量单位")
	private String productUnit;

    @ApiModelProperty(value = "商品数量")
	private Integer productCount;

    @ApiModelProperty(value = "子分类")
	private List<CategoryVO> childs;

}